﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Doctor
{
    public interface IDoctorClinic
    {
        void AddClinic(string name, string descirption, int locationId, int userId, ref Model.NutriLeafDBEntities context);

        void RemoveClinic(int doctorClinicId, ref Model.NutriLeafDBEntities context);

        List<Model.DoctorClinic> GetDoctorClinicForDoctor(int doctorId, ref Model.NutriLeafDBEntities context);

        List<Model.DoctorProfile> GetDoctorForDoctorClinic(int doctorClinicId, ref Model.NutriLeafDBEntities context);

        Model.DoctorClinic GetClinic(int clinicId, ref Model.NutriLeafDBEntities context);

        List<Model.DoctorClinic> GetNearestClinics(Model.Location location, ref Model.NutriLeafDBEntities context);

        List<Model.DoctorClinic> GetNearestClinicWithDoctors(Model.Location location, DateTime dateTime, ref Model.NutriLeafDBEntities context);

        void AddDoctorToClinic(int clinicId, int doctorId, TimeSpan startTime, TimeSpan endTime, ref Model.NutriLeafDBEntities context);

        void RemoveDoctorFromClinic(int clinicId, int doctorId, ref Model.NutriLeafDBEntities context);

        void RmeoveDoctorFromClinic(int doctorInDoctorClinicId, ref Model.NutriLeafDBEntities context);

        void UpdateDoctorInDoctorClinic(Model.DoctorInDoctorClinic doctorInClinic, ref Model.NutriLeafDBEntities context);

    }
}